<template>
  <!--
   无数据页面
  -->
  <div class="empty">
    <img src="@/assets/img/empty1.png" alt="">
    <p>{{ title }}</p>
  </div>

</template>

<script>
export default {
  name: 'empty',
  props: {
    title: {
      type: String,
      default: '暂无数据'
    },
  },
  data() {
    return {}
  },
  methods: {},
  mounted() {
  },
  computed: {}
}
</script>

<style scoped lang="less">
.empty{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  padding: 40px;
  margin-top: 80px;
  p{
    margin-top: 20px;
    font-size: 14px;
    color: #5e6d82;
    line-height: 1.5em;
  }
}
</style>